package com.ruoyi.shopping.domain;

import java.util.List;

/**
 * @author fxy
 * @date 2024/8/13
 * @Description
 */
public class CommodityTypeRequest {
    private Long commodityId;
    private List<Category> categories;

    public Long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }

    public List<Category> getCategories() {
        return categories;
    }

    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }

    public static class Category {
        private String type;
        private String image;
        private Long inventory;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public Long getInventory() {
            return inventory;
        }

        public void setInventory(Long inventory) {
            this.inventory = inventory;
        }
    }
}
